package com.googlecode.jtoy.jee.ws.client;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

public class TestClient {

	@Test
	public void testHello() {

		HelloService service = new HelloService();
		Hello _hello = service.getHelloPort();

		assertEquals("Hello,google.", _hello.sayHello("google"));
	}

	@Test
	public void testHowareyou() {

		HelloService service = new HelloService();
		Hello _hello = service.getHelloPort();

		assertEquals("How are you,google?", _hello.howareyou("google"));
	}
}
